import doublelinkedlist.IList;
import doublelinkedlist.MyLinkList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-07-13
 * Time: 16:03
 */
public class MyLinkListTest {
    public static void main(String[] args) {
        MyLinkList myLinkList = new MyLinkList();
        myLinkList.addFirst(1);
        myLinkList.addFirst(2);
        myLinkList.addFirst(3);
        myLinkList.addFirst(4);


        myLinkList.addLast(9);
        myLinkList.addLast(9);
        myLinkList.addLast(9);

        myLinkList.addIndex(3,80);

        myLinkList.removeAllKey(9);

        myLinkList.clear();
        myLinkList.display();



    }
}
